<%
	answer = report_response.cc_answer question
%>

<tr>
	<td class="col1">
		<%= question.code %> <%= _(question.text_for( report_response.owner_role )) %>
	</td>	
	<td class="col2"> </td>
	<% report_response.owner_role.coordinated_xbs.each do |xb| %>
		<td class="col2"> </td>
	<%end%>
	<td class="col2"></td>
</tr>
<% if not question.text_for( report_response.owner_role ).nil? %>
	<% question.options.each do |question_option|%>
		<tr>
			<td class="col1">&nbsp;&nbsp; <%=question_option.code%> - <%= _(question_option.text) %></td>
			<td class="col2">
				<% if not answer.nil? %>
			    	<%= show_options_answer answer, question_option %>    
				<% else %>
					N/A
				<% end %>
			</td>
			<% report_response.owner_role.coordinated_xbs.each do |xb| %>
				<%
					xb_answer = report_response.xb_answer question, xb
				%>
				<td class="col2">
					<% if not xb_answer.nil? %>
						<%= show_options_answer xb_answer, question_option %>
	        		<% else %>
						N/A
					<% end %>
				</td>
			<% end %>
			<td class="col2"></td>
		</tr>
	<% end %>
<% end %>